package de.baumann.browser.views.dialog

import android.content.Context
import de.baumann.browser.R
import kotlinx.android.synthetic.main.dialog_remove_wallet.*

class RemoveWalletDialog(context: Context, var removeCallback: RemoveCallback) : BaseDialog(context) {
    override fun laoutId(): Int {
        return R.layout.dialog_remove_wallet
    }

    override fun initView() {
        btnRWC.setOnClickListener {
            dismiss()
        }

        btnRWO.setOnClickListener {
            dismiss()
            removeCallback.remove()
        }
    }

    interface RemoveCallback {
        fun remove()
    }


}